package cn.dkk.behavior_design.visitor.assignment.duouble_assignment;



/**
 * @author dkk
 * @date 2022/7/31
 * @desc
 */
public class Executor {
    public void howl(Pet pet){
        System.out.println("宠物饿了");
    }
    public void howl(Dog dog){
        System.out.println("汪");
    }
    public void howl(Cat cat){
        System.out.println("喵");
    }
}
